<?php

namespace app\model\main;

use linkphp\Application;

class Blog
{

    public function getBlogList()
    {
        return Application::db()
            ->table('lp_blog')
            ->field('*')
            ->where('is_on = 0')
            ->select();
    }

}